package com.kgc.scd.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created On : 2022/11/4.
 * <p>
 * Author : #jiangguoqiang
 * <p>
 * Description: WechatPayConfig
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WechatPayConfig {
    /**
     * 公众账号id
     */
    private String appId;

    /**
     * 商户号id
     */
    private String mchId;
    /**
     * 商户密钥
     */
    private String mchKey;
    /**
     * 请求微信支付接口支付的统一下单地址
     */
    private String orderUri;

    /**
     * 微信支付结果回调地址
     */
    private String notifyUri;

}
